<template>
  <div>
    <h1>哼</h1>
    {{code}}
  </div>
</template>


<script>
  export default {
    name: "weibotiaozhuan",
    data() {
      return {
        code: this.$route.query.code
      }
    },
    created() {
        this.axios.get('/weibo/?code='+this.code).then(res=>{
          console.log(res.data)
          alert('微博登陆成功')
        }).catch(error=> {
          console.log(error)
          alert('微博登陆失败')
        })
    }
  }
</script>


<style scoped>


</style>